#pragma once
#include "../event_loop/event_loop.h"
#include "rpc_client.h"
class DataHub:public EventLoop {
private:
	RpcClient* rpc;
public:
	DataHub(RpcClient* rpc_);
	virtual ~DataHub();
	virtual bool event(std::unique_ptr<Event> e) override;
};